﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000C47 RID: 3143
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MusicRhythmStartLevelScRsp : IMessage<MusicRhythmStartLevelScRsp>, IMessage, IEquatable<MusicRhythmStartLevelScRsp>, IDeepCloneable<MusicRhythmStartLevelScRsp>, IBufferMessage
	{
		// Token: 0x1700279D RID: 10141
		// (get) Token: 0x06008C88 RID: 35976 RVA: 0x00175BB9 File Offset: 0x00173DB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MusicRhythmStartLevelScRsp> Parser
		{
			get
			{
				return MusicRhythmStartLevelScRsp._parser;
			}
		}

		// Token: 0x1700279E RID: 10142
		// (get) Token: 0x06008C89 RID: 35977 RVA: 0x00175BC0 File Offset: 0x00173DC0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MusicRhythmStartLevelScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700279F RID: 10143
		// (get) Token: 0x06008C8A RID: 35978 RVA: 0x00175BD2 File Offset: 0x00173DD2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MusicRhythmStartLevelScRsp.Descriptor;
			}
		}

		// Token: 0x06008C8B RID: 35979 RVA: 0x00175BD9 File Offset: 0x00173DD9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmStartLevelScRsp()
		{
		}

		// Token: 0x06008C8C RID: 35980 RVA: 0x00175BEC File Offset: 0x00173DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmStartLevelScRsp(MusicRhythmStartLevelScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.dDEHNCDHFEO_ = other.dDEHNCDHFEO_;
			this.levelId_ = other.levelId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06008C8D RID: 35981 RVA: 0x00175C29 File Offset: 0x00173E29
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MusicRhythmStartLevelScRsp Clone()
		{
			return new MusicRhythmStartLevelScRsp(this);
		}

		// Token: 0x170027A0 RID: 10144
		// (get) Token: 0x06008C8E RID: 35982 RVA: 0x00175C31 File Offset: 0x00173E31
		// (set) Token: 0x06008C8F RID: 35983 RVA: 0x00175C39 File Offset: 0x00173E39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170027A1 RID: 10145
		// (get) Token: 0x06008C90 RID: 35984 RVA: 0x00175C42 File Offset: 0x00173E42
		// (set) Token: 0x06008C91 RID: 35985 RVA: 0x00175C4A File Offset: 0x00173E4A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string DDEHNCDHFEO
		{
			get
			{
				return this.dDEHNCDHFEO_;
			}
			set
			{
				this.dDEHNCDHFEO_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x170027A2 RID: 10146
		// (get) Token: 0x06008C92 RID: 35986 RVA: 0x00175C5D File Offset: 0x00173E5D
		// (set) Token: 0x06008C93 RID: 35987 RVA: 0x00175C65 File Offset: 0x00173E65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LevelId
		{
			get
			{
				return this.levelId_;
			}
			set
			{
				this.levelId_ = value;
			}
		}

		// Token: 0x06008C94 RID: 35988 RVA: 0x00175C6E File Offset: 0x00173E6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MusicRhythmStartLevelScRsp);
		}

		// Token: 0x06008C95 RID: 35989 RVA: 0x00175C7C File Offset: 0x00173E7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MusicRhythmStartLevelScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && !(this.DDEHNCDHFEO != other.DDEHNCDHFEO) && this.LevelId == other.LevelId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06008C96 RID: 35990 RVA: 0x00175CDC File Offset: 0x00173EDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.DDEHNCDHFEO.Length != 0)
			{
				num ^= this.DDEHNCDHFEO.GetHashCode();
			}
			if (this.LevelId != 0U)
			{
				num ^= this.LevelId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06008C97 RID: 35991 RVA: 0x00175D4F File Offset: 0x00173F4F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06008C98 RID: 35992 RVA: 0x00175D57 File Offset: 0x00173F57
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06008C99 RID: 35993 RVA: 0x00175D60 File Offset: 0x00173F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.LevelId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.LevelId);
			}
			if (this.DDEHNCDHFEO.Length != 0)
			{
				output.WriteRawTag(114);
				output.WriteString(this.DDEHNCDHFEO);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06008C9A RID: 35994 RVA: 0x00175DDC File Offset: 0x00173FDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.DDEHNCDHFEO.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.DDEHNCDHFEO);
			}
			if (this.LevelId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LevelId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06008C9B RID: 35995 RVA: 0x00175E50 File Offset: 0x00174050
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MusicRhythmStartLevelScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.DDEHNCDHFEO.Length != 0)
			{
				this.DDEHNCDHFEO = other.DDEHNCDHFEO;
			}
			if (other.LevelId != 0U)
			{
				this.LevelId = other.LevelId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06008C9C RID: 35996 RVA: 0x00175EB9 File Offset: 0x001740B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06008C9D RID: 35997 RVA: 0x00175EC4 File Offset: 0x001740C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 72U)
				{
					if (num != 114U)
					{
						if (num != 120U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Retcode = input.ReadUInt32();
						}
					}
					else
					{
						this.DDEHNCDHFEO = input.ReadString();
					}
				}
				else
				{
					this.LevelId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040035B1 RID: 13745
		private static readonly MessageParser<MusicRhythmStartLevelScRsp> _parser = new MessageParser<MusicRhythmStartLevelScRsp>(() => new MusicRhythmStartLevelScRsp());

		// Token: 0x040035B2 RID: 13746
		private UnknownFieldSet _unknownFields;

		// Token: 0x040035B3 RID: 13747
		public const int RetcodeFieldNumber = 15;

		// Token: 0x040035B4 RID: 13748
		private uint retcode_;

		// Token: 0x040035B5 RID: 13749
		public const int DDEHNCDHFEOFieldNumber = 14;

		// Token: 0x040035B6 RID: 13750
		private string dDEHNCDHFEO_ = "";

		// Token: 0x040035B7 RID: 13751
		public const int LevelIdFieldNumber = 9;

		// Token: 0x040035B8 RID: 13752
		private uint levelId_;
	}
}
